package ooday02test;

public class Doctor extends Person{
    public String title;
    //
    public Doctor(){}

    public Doctor(String name, int age, String address, String title) {
        super(name, age, address);
        this.title = title;
    }
    //特有方法
    public void cut(){
        System.out.println(name+"医生在手术");
    }
}
